// 社保实缴明细
import request from "@/utils/https/requests";

// 列表
export function billFactSbList(data: any) {
    return request({
        url: "/billFactSb/list", method: "post", data,
    });
}

// 添加
export function postAddBillFactSb(data: any) {
    return request({
        url: "/billFactSb/postAdd", method: "post", data,
    });
}

// 修改
export function postModBillFactSb(data: any) {
    return request({
        url: `/billFactSb/postMod/{${data.id}`, method: "post", data,
    });
}

// 删除
export function postDeleteBillFactSb(id: string) {
    return request({
        url: `/billFactSb/postDelete/${id}`, method: "post",
    });
}

// 逻辑 删除
export const postLogicDeleteBillFactSb = (id) => {
    return request({
        url: `/billFactSb/postLogicDelete/${id}`, method: 'post'
    })
}

// 详情
export function billFactSbDetail(id: string) {
    return request({
        url: `/billFactSb/detail/${id}`, method: "post",
    });
}